package com.yan.dao.entity;

import lombok.Data;

import java.io.Serializable;

/**
 * 图书
 */
@Data
public class Books implements Serializable{
	
	private static final long serialVersionUID = 1L;
	private Integer id;
	private String bname;
	private Integer sid;
	private String number;
	private String author;
	private String birth;
	private String edition;
	private String sname;

	// 检索开始行
	private int start;
	// 当前页的数值
	private int currentPage;

	public Books() {
		super();
	}

	public Books(Integer id, String bname, Integer sid, String number, String author, String birth, String edition) {
		super();
		this.id = id;
		this.bname = bname;
		this.sid = sid;
		this.number = number;
		this.author = author;
		this.birth = birth;
		this.edition = edition;
	}

	@Override
	public String toString() {
		return "Books [id=" + id + ", bname=" + bname + ", sid=" + sid + ", number=" + number + ", author=" + author
				+ ", birth=" + birth + ", edition=" + edition + ", sname=" + sname + ", start=" + start
				+ ", currentPage=" + currentPage + "]";
	}

}
